package com.carkeeper.caruser.easy;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;

public class WriteModel extends BaseRowModel {

    /**
     * 通过 @ExcelProperty 注解来指定每个字段的列名称，以及下标位置；
     */
    @ExcelProperty(value = "序号",index = 0)
    private String id;

    @ExcelProperty(value = "车主名称",index = 1)
    private String username;

    @ExcelProperty(value = "手机号",index = 1)
    private String phone;

    @ExcelProperty(value = "状态",index = 1)
    private String status;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
